﻿using BlogEngine.Gallery.Data;
using BlogEngine.Gallery.Models;
using System.Collections.Generic;
using System.Web.Http;

namespace BlogEngine.Gallery.Controllers
{
    public class ExtrasController : ApiController
    {
        public IEnumerable<PackageExtra> Get()
        {
            return Repository.GetPackages();
        }

        public PackageExtra Get(string id)
        {
            return Repository.GetPackage(id);
        }
    }
}
